
<!DOCTYPE HTML>
<html lang="zh-hans" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>[新手上路] 用HEXO在Github建立个人博客 · StarsAndClown</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        <meta name="author" content="zhaoolee">
        
        
    
    <link rel="stylesheet" href="../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-disqus/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-search-plus/search.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-splitter/splitter.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-tbfed-pagefooter/footer.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-donate/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
        <link rel="stylesheet" href="../zh-hans/styles/website.css">
        
    

        
    
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="kai-yuan-gong-51775d-kai-yuan-gong-ju-jiang-markdown-ge-shi-zhuan-huan-wei-wei-xin-gong-zhong-hao-ge-shi.html" />
    
    
    <link rel="prev" href="qi-liao-699c5d-300a-nv-zhuang-da-lao-ku-300b.html" />
    

    <style>
    @media only screen and (max-width: 640px) {
        .book-header .hidden-mobile {
            display: none;
        }
    }
    </style>
    <script>
        window["gitbook-plugin-github-buttons"] = {"buttons":[{"user":"zhaoolee","repo":"StarsAndClown","type":"star","size":"large","count":true},{"user":"zhaoolee","type":"follow","width":"230","count":true}]};
    </script>

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="输入并搜索" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="../">
            
                <a href="../">
            
                    
                    Introduction
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="qi-liao-699c5d-wu-bug-cang-ku.html">
            
                <a href="qi-liao-699c5d-wu-bug-cang-ku.html">
            
                    
                    [弃疗榜] 无bug仓库
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="qi-liao-699c5d-mie-ba-xiang-zhi-jiao-ben.html">
            
                <a href="qi-liao-699c5d-mie-ba-xiang-zhi-jiao-ben.html">
            
                    
                    [弃疗榜] 灭霸响指脚本
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="qi-liao-699c5d-yang-chao-yue-github-hou-yuan-hui.html">
            
                <a href="qi-liao-699c5d-yang-chao-yue-github-hou-yuan-hui.html">
            
                    
                    [弃疗榜] 杨超越github后援会
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5" data-path="qi-liao-699c5d-fan-qiang-fang-fa-ji-he.html">
            
                <a href="qi-liao-699c5d-fan-qiang-fang-fa-ji-he.html">
            
                    
                    [弃疗榜] 翻墙方法集合
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6" data-path="qi-liao-699c5d-xue-xi-qiang-guo-shua-shi-chang.html">
            
                <a href="qi-liao-699c5d-xue-xi-qiang-guo-shua-shi-chang.html">
            
                    
                    [弃疗榜] 学习强国刷时长
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7" data-path="qi-liao-699c5d22-guo-9a8222-ming-ling-xing-shen-qi-thefuke.html">
            
                <a href="qi-liao-699c5d22-guo-9a8222-ming-ling-xing-shen-qi-thefuke.html">
            
                    
                    [弃疗榜] "国骂"命令行神器 thefuke!
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8" data-path="qi-liao-699c5d-300a-nv-zhuang-da-lao-ku-300b.html">
            
                <a href="qi-liao-699c5d-300a-nv-zhuang-da-lao-ku-300b.html">
            
                    
                    [弃疗榜] 女装大佬库
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="1.9" data-path="xin-shou-shang-8def5d-300a-yong-hexo-zai-github-jian-li-ge-ren-bo-ke-300b.html">
            
                <a href="xin-shou-shang-8def5d-300a-yong-hexo-zai-github-jian-li-ge-ren-bo-ke-300b.html">
            
                    
                    [新手上路] 用HEXO在Github建立个人博客
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.10" data-path="kai-yuan-gong-51775d-kai-yuan-gong-ju-jiang-markdown-ge-shi-zhuan-huan-wei-wei-xin-gong-zhong-hao-ge-shi.html">
            
                <a href="kai-yuan-gong-51775d-kai-yuan-gong-ju-jiang-markdown-ge-shi-zhuan-huan-wei-wei-xin-gong-zhong-hao-ge-shi.html">
            
                    
                    [开源工具] 开源工具将Markdown格式转换为微信公众号格式
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.11" data-path="kai-yuan-gong-51775d-ben-di-bo-fang-b-zhan-hui-yuan-shi-pin-ji-dan-5e552c-kai-yuan-gong-ju-you-get-shi-yong-gong-lve.html">
            
                <a href="kai-yuan-gong-51775d-ben-di-bo-fang-b-zhan-hui-yuan-shi-pin-ji-dan-5e552c-kai-yuan-gong-ju-you-get-shi-yong-gong-lve.html">
            
                    
                    [开源工具] 本地播放B站会员视频及弹幕, 开源工具you-get使用攻略
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.12" data-path="kai-yuan-gong-51775d-yong-aria2-jie-chu-bai-du-wang-pan-xian-su.html">
            
                <a href="kai-yuan-gong-51775d-yong-aria2-jie-chu-bai-du-wang-pan-xian-su.html">
            
                    
                    [开源工具] 用Aria2解除百度网盘限速
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.13" data-path="kai-yuan-gong-51775d-gu-ge-zai-xian-ya-suo-tu-pian.html">
            
                <a href="kai-yuan-gong-51775d-gu-ge-zai-xian-ya-suo-tu-pian.html">
            
                    
                    [开源工具] 谷歌在线压缩图片
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.14" data-path="ke-xue-shang-7f515d-yong-brook-bu-shu-yi-ge-jian-dan-wen-ding-sha-gua-de-ke-xue-shang-wang-gong-ju.html">
            
                <a href="ke-xue-shang-7f515d-yong-brook-bu-shu-yi-ge-jian-dan-wen-ding-sha-gua-de-ke-xue-shang-wang-gong-ju.html">
            
                    
                    [科学上网] 用Brook部署一个简单稳定傻瓜的科学上网工具
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.15" data-path="qian-duan-kai-53d15d-chun-cui-de-css-dong-hua-ku.html">
            
                <a href="qian-duan-kai-53d15d-chun-cui-de-css-dong-hua-ku.html">
            
                    
                    [前端开发] 纯粹的Css动画库
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.16" data-path="qian-duan-kai-53d15d-markdown-zhuan-html.html">
            
                <a href="qian-duan-kai-53d15d-markdown-zhuan-html.html">
            
                    
                    [前端开发] Markdown转Html
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.17" data-path="pythonshen-5e935d-3-xing-dai-ma-fa-you-4ef628-han-fa-song-tu-724729.html">
            
                <a href="pythonshen-5e935d-3-xing-dai-ma-fa-you-4ef628-han-fa-song-tu-724729.html">
            
                    
                    [Python派] 3行代码发邮件(含发送图片)
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.18" data-path="python6d3e5d-jiang-python-cheng-5e8f28-py-zhuan-huan-wei-windows-ke-zhi-xing-wen-4ef628-exe.html">
            
                <a href="python6d3e5d-jiang-python-cheng-5e8f28-py-zhuan-huan-wei-windows-ke-zhi-xing-wen-4ef628-exe.html">
            
                    
                    [Python派] 将Python程序(.py)转换为Windows可执行文件(.exe)
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.19" data-path="she-ji-zi-6e905d-adobe-si-yuan-hei-ti-xia-zai.html">
            
                <a href="she-ji-zi-6e905d-adobe-si-yuan-hei-ti-xia-zai.html">
            
                    
                    [设计资源] Adobe思源黑体下载
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.20" data-path="kai-yuan-yue-8bfb5d-shen-du-xue-xi-500-wen.html">
            
                <a href="kai-yuan-yue-8bfb5d-shen-du-xue-xi-500-wen.html">
            
                    
                    [开源阅读] 深度学习500问
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.21" data-path="kai-yuan-yue-8bfb5d-teng-xun-ivweb-ji-zhu-zhou-kan.html">
            
                <a href="kai-yuan-yue-8bfb5d-teng-xun-ivweb-ji-zhu-zhou-kan.html">
            
                    
                    [开源阅读] 腾讯IVWEB技术周刊
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.22" data-path="kai-yuan-yue-8bfb5d-ruan-yi-feng-ji-zhu-fen-xiang-zhou-520a2c-mei-zhou-wu-geng-xin.html">
            
                <a href="kai-yuan-yue-8bfb5d-ruan-yi-feng-ji-zhu-fen-xiang-zhou-520a2c-mei-zhou-wu-geng-xin.html">
            
                    
                    [开源阅读] 阮一峰技术分享周刊,每周五更新
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.23" data-path="kai-yuan-yue-8bfb5d-hellogithub-fen-xiang-github-ru-men-ji-kai-yuan-xiang-mu.html">
            
                <a href="kai-yuan-yue-8bfb5d-hellogithub-fen-xiang-github-ru-men-ji-kai-yuan-xiang-mu.html">
            
                    
                    [开源阅读] HelloGithub, 分享GitHub入门级开源项目
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.24" data-path="kai-yuan-you-620f5d-e-luo-si-fang-kuai.html">
            
                <a href="kai-yuan-you-620f5d-e-luo-si-fang-kuai.html">
            
                    
                    [开源游戏]俄罗斯方块
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.25" data-path="kai-yuan-gong-51775d-switchhosts-geng-fang-bian-di-qie-huan-hosts.html">
            
                <a href="kai-yuan-gong-51775d-switchhosts-geng-fang-bian-di-qie-huan-hosts.html">
            
                    
                    [开源工具]SwitchHosts!更方便地切换hosts
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.26" data-path="she-ji-zi-6e905d-ppt-que-shao-tu-biao-su-67503f-shi-shi-font-awasome-542721.html">
            
                <a href="she-ji-zi-6e905d-ppt-que-shao-tu-biao-su-67503f-shi-shi-font-awasome-542721.html">
            
                    
                    [设计资源] PPT缺少图标素材? 试试Font Awasome吧!
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.27" data-path="kai-yuan-you-620f5d-da-zi-su-du-61623f-wan-yi-wan-zi-you-gang-qin-54277e.html">
            
                <a href="kai-yuan-you-620f5d-da-zi-su-du-61623f-wan-yi-wan-zi-you-gang-qin-54277e.html">
            
                    
                    [开源游戏] 打字速度慢?玩一玩自由钢琴吧~
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.28" data-path="cxk.html">
            
                <a href="cxk.html">
            
                    
                    [开源游戏] CXK, 出来打球!
            
                </a>
            

            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            本书使用 GitBook 发布
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href=".." >[新手上路] 用HEXO在Github建立个人博客</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div class="search-plus" id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <ul>
<li>&#x4EE5;&#x524D;&#x5199;&#x8FC7;<a href="https://www.jianshu.com/p/0b441a391136" target="_blank">&#x5728;Github&#x521B;&#x5EFA;&#x4E2A;&#x4EBA;&#x4E13;&#x5C5E;&#x540D;&#x7247;</a>, &#x6709;&#x4EBA;&#x63D0;&#x95EE;&#x5728;GitHub&#x5EFA;&#x7ACB;&#x7F51;&#x7AD9;&#x662F;&#x600E;&#x4E48;&#x4E00;&#x56DE;&#x4E8B;? </li>
<li><p>&#x5728;github&#x5EFA;&#x7ACB;&#x7684;&#x535A;&#x5BA2;&#x5927;&#x591A;&#x662F;&#x4E00;&#x4E9B;&#x9759;&#x6001;&#x7684;&#x9875;&#x9762;, &#x6BCF;&#x6B21;&#x66F4;&#x65B0;&#x5185;&#x5BB9;&#x9700;&#x8981;&#x624B;&#x52A8;&#x751F;&#x6210;&#x9875;&#x9762;, &#x7136;&#x540E;push&#x5230;github, &#x6211;&#x7814;&#x7A76;&#x4E86;&#x4E00;&#x4E0B;&#x53EF;&#x4EE5;&#x81EA;&#x52A8;&#x751F;&#x6210;&#x9759;&#x6001;&#x9875;&#x9762;&#x7684;&#x5DE5;&#x5177;, &#x5176;&#x4E2D;hexo&#x6700;&#x4E3A;&#x70ED;&#x95E8;, hexo&#x62E5;&#x6709;&#x4E30;&#x5BCC;&#x7684;&#x4E3B;&#x9898;&#x5E93;, &#x6EE1;&#x8DB3;&#x4F60;&#x6298;&#x817E;&#x7684;&#x5FC3;~ </p>
<blockquote>
<p><img src="https://raw.githubusercontent.com/zhaoolee/GraphBed/master/images/80d19899b8540f3b09d90edbf5dad636.png" alt=""></p>
</blockquote>
</li>
<li><p>&#x4EE5;&#x4E0B;&#x662F;&#x6211;&#x6298;&#x817E;&#x7684;&#x4E00;&#x4E9B;&#x8BB0;&#x5F55;:</p>
<h2 id="&#x73AF;&#x5883;&#x8981;&#x6C42;">&#x73AF;&#x5883;&#x8981;&#x6C42;:</h2>
</li>
<li>&#x5DF2;&#x5B89;&#x88C5;node.js</li>
<li>&#x5DF2;&#x5B89;&#x88C5;git</li>
</ul>
<h2 id="&#x5168;&#x5C40;&#x5B89;&#x88C5;hexo">&#x5168;&#x5C40;&#x5B89;&#x88C5;hexo</h2>
<pre><code>npm install -g hexo-cli
</code></pre><blockquote>
<p><img src="https://raw.githubusercontent.com/zhaoolee/GraphBed/master/images/ab3848ae3d1a52722852fca043f42fe5.png" alt=""></p>
<h2 id="&#x521D;&#x59CB;&#x5316;&#x9879;&#x76EE;">&#x521D;&#x59CB;&#x5316;&#x9879;&#x76EE;</h2>
<pre><code>hexo init zhaoolee-blog
cd zhaoolee-blog
npm install
</code></pre><p><img src="https://raw.githubusercontent.com/zhaoolee/GraphBed/master/images/f318478a2db90333af21166a31ac373b.png" alt=""></p>
</blockquote>
<ul>
<li>&#x672C;&#x5730;&#x5F00;&#x542F;&#x8C03;&#x8BD5;&#x670D;&#x52A1; <code>hexo s</code><blockquote>
<p><img src="https://raw.githubusercontent.com/zhaoolee/GraphBed/master/images/e9b29f8084590701477c05e5ef848fb4.png" alt="">
<img src="https://raw.githubusercontent.com/zhaoolee/GraphBed/master/images/84df2916a72cec985cf4cd07d2b27253.png" alt=""></p>
</blockquote>
</li>
</ul>
<h2 id="&#x5199;&#x4E00;&#x7BC7;&#x6587;&#x7AE0;">&#x5199;&#x4E00;&#x7BC7;&#x6587;&#x7AE0;</h2>
<pre><code>hexo new &quot;&#x5728;Github&#x521B;&#x5EFA;&#x4E2A;&#x4EBA;&#x4E13;&#x5C5E;&#x540D;&#x7247;&quot;
</code></pre><blockquote>
<p><img src="https://raw.githubusercontent.com/zhaoolee/GraphBed/master/images/44d2cb6a6d230b1153a8815d3c92147a.png" alt="">
&#x5728;sublime&#x6253;&#x5F00;&#x65B0;&#x5EFA;&#x7684;<code>~/zhaoolee-blog/source/_posts/&#x5728;Github&#x521B;&#x5EFA;&#x4E2A;&#x4EBA;&#x4E13;&#x5C5E;&#x540D;&#x7247;.md</code>, &#x5E76;&#x52A0;&#x5165;&#x5185;&#x5BB9;
<img src="https://raw.githubusercontent.com/zhaoolee/GraphBed/master/images/c0d6d868a67f611e1c0c6e7bd90844d5.png" alt=""></p>
<ul>
<li>&#x56DE;&#x5230;&#x63A7;&#x5236;&#x53F0;, &#x5148;<code>Control+c</code>&#x505C;&#x6389;&#x670D;&#x52A1;</li>
<li>&#x6E05;&#x7406;&#x7F13;&#x5B58;<code>hexo clean</code></li>
<li>&#x518D;&#x6B21;&#x5F00;&#x542F;&#x670D;&#x52A1; <code>hexo s</code>
<img src="https://raw.githubusercontent.com/zhaoolee/GraphBed/master/images/aeb6490210b05cd9f54e3c3f29d802e3.png" alt=""></li>
<li>&#x67E5;&#x770B;&#x6548;&#x679C;
<img src="https://raw.githubusercontent.com/zhaoolee/GraphBed/master/images/6fb3aaf35b7f2f48b5768f19922f3337.png" alt=""></li>
<li>&#x901A;&#x8FC7;&#x4E3B;&#x76EE;&#x5F55;&#x4E0B;<code>_config.yml</code>&#x5BF9;&#x7F51;&#x7AD9;&#x4FE1;&#x606F;&#x8FDB;&#x884C;&#x914D;&#x7F6E;
<img src="https://raw.githubusercontent.com/zhaoolee/GraphBed/master/images/ee245f106b0e14fd3e493bbc8e33b7d7.png" alt="">
<img src="https://raw.githubusercontent.com/zhaoolee/GraphBed/master/images/59b6a6d436e627181217d41097d969ce.png" alt="">
&#x4F46;&#x662F;&#x9ED8;&#x8BA4;&#x7684;&#x4E3B;&#x9898;&#x5B9E;&#x5728;&#x662F;&#x4E0D;&#x592A;&#x7F8E;&#x89C2;, &#x5C31;&#x50CF;&#x662F;&#x8BBE;&#x8BA1;&#x5E08;&#x559D;&#x4E86;&#x4E00;&#x65A4;&#x4F0F;&#x7279;&#x52A0;&#x4E4B;&#x540E;, &#x968F;&#x624B;&#x8BBE;&#x8BA1;&#x51FA;&#x6765;&#x7684;, &#x526F;&#x6807;&#x9898;&#x51E0;&#x4E4E;&#x770B;&#x4E0D;&#x6E05;, &#x4E0B;&#x9762;&#x6211;&#x4EEC;&#x8981;&#x6362;&#x4E3B;&#x9898;</li>
</ul>
</blockquote>
<h2 id="&#x914D;&#x7F6E;&#x4E3B;&#x9898;">&#x914D;&#x7F6E;&#x4E3B;&#x9898;</h2>
<blockquote>
<p>&#x5B98;&#x65B9;&#x63A8;&#x8350;&#x7684;&#x4E3B;&#x9898;&#x5E93;: <a href="https://hexo.io/themes/" target="_blank">https://hexo.io/themes/</a>
<img src="https://raw.githubusercontent.com/zhaoolee/GraphBed/master/images/8f9f20665e3d554d9d40da86ca45da11.png" alt=""></p>
<ul>
<li>&#x9009;&#x4E00;&#x4E2A;&#x81EA;&#x5DF1;&#x559C;&#x6B22;&#x7684;&#x4E3B;&#x9898;, &#x4ECE;github&#x83B7;&#x53D6;&#x6E90;&#x7801;
<img src="https://raw.githubusercontent.com/zhaoolee/GraphBed/master/images/a00dedef38eb45b4659568092c1d7780.png" alt=""><h2 id="&#x5C06;&#x6E90;&#x7801;&#x4EE5;git-clone&#x7684;&#x65B9;&#x5F0F;&#x6DFB;&#x52A0;&#x5230;-zhaoolee-blogthem-&#x76EE;&#x5F55;">&#x5C06;&#x6E90;&#x7801;&#x4EE5;git clone&#x7684;&#x65B9;&#x5F0F;&#x6DFB;&#x52A0;&#x5230; <code>zhaoolee-blog/them</code> &#x76EE;&#x5F55;</h2>
<pre><code>git clone https://github.com/HeskeyBaozi/hexo-theme-lite ./themes/lite/
</code></pre><img src="https://raw.githubusercontent.com/zhaoolee/GraphBed/master/images/c20afb630ea038dd36c7823243d1bcb6.png" alt="">
&#x6253;&#x5F00;&#x6839;&#x76EE;&#x5F55;&#x7684;__config.yml&#x6587;&#x4EF6;&#xFF0C;&#x5C06;theme&#x5B57;&#x6BB5;&#x8BBE;&#x4E3A;lite
<img src="https://raw.githubusercontent.com/zhaoolee/GraphBed/master/images/f723ab878da2b2369b28af22ee31fc8a.png" alt=""></li>
<li>&#x56DE;&#x5230;&#x63A7;&#x5236;&#x53F0;, &#x5148;<code>Control+c</code>&#x505C;&#x6389;&#x670D;&#x52A1;</li>
<li>&#x6E05;&#x7406;&#x7F13;&#x5B58;<code>hexo clean</code></li>
<li>&#x518D;&#x6B21;&#x5F00;&#x542F;&#x670D;&#x52A1; <code>hexo s</code></li>
<li>&#x67E5;&#x770B;&#x6548;&#x679C;, <code>http://localhost:4000/</code>
<img src="https://raw.githubusercontent.com/zhaoolee/GraphBed/master/images/9ef0062fe0b29af778b6fe6a434423fc.png" alt=""></li>
</ul>
</blockquote>
<ul>
<li>&#x6309;&#x7167;&#x4E3B;&#x9898;&#x7684;&#x7684;&#x8BF4;&#x660E;&#x6587;&#x6863;, &#x4FEE;&#x6539;&#x4E3B;&#x9898;
&#x6BCF;&#x4E2A;&#x4E3B;&#x9898;&#x7684;&#x8BF4;&#x660E;&#x6587;&#x6863;&#x90FD;&#x662F;&#x4F5C;&#x8005;&#x5B9A;&#x4E49;&#x7684;, &#x7565;&#x6709;&#x5DEE;&#x522B;, &#x4F46;&#x5927;&#x540C;&#x5C0F;&#x5F02;,&#x8FD9;&#x91CC;&#x4EE5;lite&#x4E3A;&#x4F8B;, <code>https://github.com/HeskeyBaozi/hexo-theme-lite</code><blockquote>
<p><img src="https://raw.githubusercontent.com/zhaoolee/GraphBed/master/images/430c73592d5c7b33adcdeea2ce3928b1.png" alt=""></p>
</blockquote>
</li>
<li>&#x6253;&#x5F00;<code>themes/lite/_config.yml</code>, &#x8FDB;&#x884C;&#x4FEE;&#x6539;<blockquote>
<p><img src="https://raw.githubusercontent.com/zhaoolee/GraphBed/master/images/3d3de06297ee06f14a9c28875a08224a.png" alt="">
&#x8FD9;&#x4E2A;&#x5B8C;&#x5168;&#x6309;&#x7167;&#x4E2A;&#x4EBA;&#x7684;&#x559C;&#x597D;, &#x53EF;&#x4EE5;&#x5BF9;&#x7167;&#x6587;&#x6863;, &#x4E00;&#x70B9;&#x70B9;&#x4FEE;&#x6539;, &#x8FD9;&#x662F;&#x4E00;&#x4E2A;&#x975E;&#x5E38;&#x6D88;&#x8017;&#x65F6;&#x95F4;&#x7684;&#x6D3B;&#x52A8;, &#x6539;&#x5B8C;&#x8BB0;&#x5F97;&#x4FDD;&#x5B58;<code>_config.yml</code>, &#x7136;&#x540E;,<code>control+c</code> &#x6E05;&#x7406;&#x7F13;&#x5B58;<code>hexo clean</code>, &#x91CD;&#x542F;&#x670D;&#x52A1;<code>hexo s</code> </p>
<h2 id="&#x5C06;hexo&#x751F;&#x6210;&#x7684;&#x9875;&#x9762;-&#x4E0A;&#x4F20;&#x5230;github">&#x5C06;hexo&#x751F;&#x6210;&#x7684;&#x9875;&#x9762;, &#x4E0A;&#x4F20;&#x5230;github</h2>
</blockquote>
</li>
<li>&#x4FEE;&#x6539;&#x4E3B;&#x76EE;&#x5F55;<code>_config.yml</code>&#x5185;<code>deploy</code>&#x4E0B;&#x7684;&#x4E09;&#x4E2A;&#x5B57;&#x6BB5;<code>type</code>, <code>repo</code>, <code>branch</code>(&#x5982;&#x679C;&#x6CA1;&#x6709;&#x8FD9;&#x51E0;&#x4E2A;&#x5B57;&#x6BB5;, &#x81EA;&#x884C;&#x6DFB;&#x52A0;&#x5373;&#x53EF;) <pre><code># Deployment
## Docs: https://hexo.io/docs/deployment.html
deploy:
type: git
repo: https://github.com/zhaoolee/zhaoolee.github.io.git
branch: master
</code></pre><blockquote>
<p><img src="https://raw.githubusercontent.com/zhaoolee/GraphBed/master/images/4bf9715c34a6d0477d0d140fdbc6b818.png" alt=""></p>
</blockquote>
</li>
<li>&#x5B89;&#x88C5;&#x4E00;&#x4E2A;&#x4E0E;github&#x901A;&#x4FE1;&#x7684;&#x63D2;&#x4EF6;(&#x9700;&#x8981;&#x4E8B;&#x5148;&#x5728;github&#x5EFA;&#x597D;&#x4ED3;&#x5E93;, &#x5EFA;&#x4ED3;&#x5E93;&#x6D41;&#x7A0B;&#x53C2;&#x8003;<a href="https://www.jianshu.com/p/0b441a391136" target="_blank">https://www.jianshu.com/p/0b441a391136</a>)<pre><code>npm install hexo-deployer-git
</code></pre></li>
<li>&#x91CD;&#x65B0;&#x751F;&#x6210;&#x9875;&#x9762;, &#x5E76;&#x4E0A;&#x4F20;&#x5230;GitHub<pre><code># &#x6E05;&#x7406;&#x7F13;&#x5B58;
hexo clean
# &#x751F;&#x6210;&#x9875;&#x9762;
hexo g
# &#x4E0A;&#x4F20;&#x5230;github
hexo d
</code></pre><blockquote>
<p><img src="https://raw.githubusercontent.com/zhaoolee/GraphBed/master/images/845ec87cb4a7629b11018010d2d8f535.png" alt="">
<img src="https://raw.githubusercontent.com/zhaoolee/GraphBed/master/images/59af79349580520a26d96259241cb6a2.png" alt=""></p>
</blockquote>
</li>
</ul>
<hr>
<h6 id="&#x4E0A;&#x9762;&#x53EA;&#x662F;&#x6700;&#x7B80;&#x5355;&#x7684;&#x73A9;&#x6CD5;-&#x5982;&#x679C;&#x4F60;&#x5BF9;&#x9759;&#x6001;&#x535A;&#x5BA2;&#x642D;&#x5EFA;&#x975E;&#x5E38;&#x611F;&#x5174;&#x8DA3;-&#x53EF;&#x4EE5;&#x53C2;&#x8003;&#x4EE5;&#x4E0B;&#x4E00;&#x4E9B;&#x8D44;&#x6599;">&#x4E0A;&#x9762;&#x53EA;&#x662F;&#x6700;&#x7B80;&#x5355;&#x7684;&#x73A9;&#x6CD5;, &#x5982;&#x679C;&#x4F60;&#x5BF9;&#x9759;&#x6001;&#x535A;&#x5BA2;&#x642D;&#x5EFA;&#x975E;&#x5E38;&#x611F;&#x5174;&#x8DA3;, &#x53EF;&#x4EE5;&#x53C2;&#x8003;&#x4EE5;&#x4E0B;&#x4E00;&#x4E9B;&#x8D44;&#x6599;:</h6>
<ul>
<li><a href="https://juejin.im/post/5a6ee00ef265da3e4b770ac1" target="_blank">&#x5173;&#x4E8E;HEXO&#x642D;&#x5EFA;&#x4E2A;&#x4EBA;&#x535A;&#x5BA2;&#x7684;&#x70B9;&#x70B9;&#x6EF4;&#x6EF4;</a> </li>
<li><a href="https://hexo.io/zh-cn/docs/index.html" target="_blank">HEXO&#x4E2D;&#x6587;&#x6587;&#x6863;</a></li>
<li><a href="https://theme-next.iissnan.com/getting-started.html" target="_blank">NexT&#x5B98;&#x65B9;&#x6587;&#x6863;</a></li>
<li><a href="https://www.udemy.com/hexo-hwc/" target="_blank">&#x5FEB;&#x901F;&#x4F7F;&#x7528; Hexo &#x642D;&#x5EFA;&#x4E2A;&#x4EBA;&#x535A;&#x5BA2;&#x89C6;&#x9891;&#x6559;&#x7A0B;</a></li>
</ul>
<h2 id="&#x5C0F;&#x7ED3;">&#x5C0F;&#x7ED3;:</h2>
<ul>
<li>&#x5982;&#x679C;&#x4F60;&#x662F;&#x4E00;&#x4E2A;&#x7231;&#x6298;&#x817E;&#x7684;&#x6781;&#x5BA2;, hexo&#x53EF;&#x4EE5;&#x73A9;&#x7684;&#x5F88;&#x9177;, &#x4F46;&#x5982;&#x679C;&#x4F60;&#x662F;&#x4E3A;&#x4E86;&#x5EFA;&#x7ACB;&#x81EA;&#x5DF1;&#x7684;&#x535A;&#x5BA2;, &#x5EFA;&#x8BAE;&#x628A;&#x6298;&#x817E;&#x7684;&#x5FC3;&#x601D;&#x653E;&#x5230;&#x535A;&#x5BA2;&#x7684;&#x5185;&#x5BB9;&#x4E0A;, &#x56E0;&#x4E3A;&#x901A;&#x8FC7;&#x5199;&#x535A;&#x5BA2;&#x83B7;&#x5F97;&#x7684;&#x4E50;&#x8DA3;,&#x8FDC;&#x6BD4;&#x914D;&#x7F6E;&#x51E0;&#x4E2A;&#x9759;&#x6001;&#x9875;&#x9762;&#x8981;&#x5927;&#x7684;&#x591A;</li>
<li>&#x5766;&#x7387;&#x7684;&#x8BB2;, hexo&#x662F;&#x6709;&#x5F88;&#x591A;&#x4E0D;&#x8DB3;&#x7684;, &#x6BD4;&#x5982;&#x7EAF;&#x9759;&#x6001;&#x9875;&#x9762;,&#x6CA1;&#x6709;&#x6570;&#x636E;&#x5E93;&#x7684;&#x652F;&#x6301;,&#x5373;&#x4F7F;&#x6DFB;&#x52A0;&#x7B80;&#x5355;&#x7684;&#x7559;&#x8A00;&#x677F;&#x529F;&#x80FD;, &#x4E5F;&#x8981;&#x501F;&#x52A9;&#x7B2C;&#x4E09;&#x65B9;, &#x800C;&#x56FD;&#x5185;&#x63D0;&#x4F9B;&#x8BC4;&#x8BBA;&#x670D;&#x52A1;&#x7684;&#x4E09;&#x65B9;&#x5E73;&#x53F0;, &#x7531;&#x4E8E;&#x79CD;&#x79CD;&#x539F;&#x56E0;, &#x4E5F;&#x7EB7;&#x7EB7;&#x5012;&#x95ED;&#x4E86;, &#x73A9;hexo&#x4F60;&#x4F1A;&#x6709;&#x8FD9;&#x79CD;&#x611F;&#x53D7;, &#x6211;&#x672C;&#x6765;&#x60F3;&#x5EFA;&#x7ACB;&#x81EA;&#x5DF1;&#x7684;&#x535A;&#x5BA2;, &#x540E;&#x6765;&#x53D1;&#x73B0; &#x6298;&#x817E;&#x535A;&#x5BA2;&#x672C;&#x8EAB;&#x6240;&#x82B1;&#x8D39;&#x7684;&#x65F6;&#x95F4;, &#x6BD4;&#x5199;&#x535A;&#x5BA2;&#x82B1;&#x7684;&#x65F6;&#x95F4;&#x8FD8;&#x8981;&#x591A;, &#x54C8;&#x54C8;, &#x6709;&#x70B9;&#x5C34;&#x5C2C;, &#x6240;&#x4EE5;&#x6211;&#x679C;&#x65AD;&#x5F03;&#x5751;&#x4E86;...</li>
<li>hexo&#x4E5F;&#x6709;&#x5F88;&#x591A;&#x4F18;&#x70B9;: &#x501F;&#x52A9;GitHub, &#x53EF;&#x4EE5;&#x4E0D;&#x82B1;&#x4E00;&#x5206;&#x94B1;, &#x5FEB;&#x901F;&#x5EFA;&#x7ACB;&#x81EA;&#x5DF1;&#x7684;&#x4E2A;&#x6027;&#x5316;&#x7F51;&#x7AD9;, &#x800C;&#x4E14;&#x7F51;&#x7AD9;&#x5927;&#x591A;&#x754C;&#x9762;&#x7F8E;&#x89C2;, &#x5982;&#x679C;&#x5355;&#x7EAF;&#x7528;&#x6765;&#x53D1;&#x535A;&#x5BA2;,&#x7EF4;&#x62A4;&#x8D77;&#x6765;&#x4E5F;&#x6BD4;&#x8F83;&#x7B80;&#x5355; </li>
<li>&#x73A9;hexo, &#x5728;github&#x5EFA;&#x7ACB;&#x7F51;&#x7AD9;, &#x672C;&#x6765;&#x5C31;&#x662F;&#x504F;&#x6781;&#x5BA2;&#x7684;, &#x5982;&#x679C;&#x4F60;&#x53EA;&#x662F;&#x60F3;&#x5199;&#x535A;&#x5BA2;, &#x8868;&#x8FBE;&#x81EA;&#x5DF1;&#x7684;&#x601D;&#x60F3;, &#x7B80;&#x4E66;&#x5C31;&#x662F;&#x5F88;&#x597D;&#x7684;&#x9009;&#x62E9;, &#x4E0E;hexo&#x76F8;&#x6BD4;, &#x7B80;&#x4E66;&#x7684;&#x5B9A;&#x5236;&#x6027;&#x8981;&#x5DEE;&#x4E00;&#x4E9B;,&#x597D;&#x5904;&#x5728;&#x4E8E;, &#x5B8C;&#x5168;&#x4E0D;&#x9700;&#x8981;&#x81EA;&#x5DF1;&#x7EF4;&#x62A4;, &#x4F60;&#x53EF;&#x4EE5;&#x901A;&#x8FC7;&#x5411;&#x4E13;&#x9898;&#x6295;&#x7A3F;, &#x8BA9;&#x4F60;&#x7684;&#x5185;&#x5BB9;,&#x5FEB;&#x901F;&#x88AB;&#x5176;&#x4ED6;&#x4EBA;&#x770B;&#x5230;, &#x4E0E;&#x4ED6;&#x4EBA;&#x7684;&#x70B9;&#x8D5E;/&#x8BC4;&#x8BBA;/&#x6253;&#x8D4F;/&#x4E92;&#x52A8;,&#x8BA9;&#x4F60;&#x5BF9;&#x5199;&#x535A;&#x5BA2;&#x4FDD;&#x6301;&#x4E00;&#x79CD;&#x957F;&#x4E45;&#x7684;&#x5174;&#x8DA3;, &#x800C;&#x8FD9;&#x79CD;&#x5174;&#x8DA3;&#x5F80;&#x5F80;&#x662F;&#x6700;&#x91CD;&#x8981;&#x7684;~</li>
</ul>
<hr>
<h4 id="&#x672C;&#x4ED3;&#x5E93;github&#x94FE;&#x63A5;-httpsgithubcom521xueweihanhellogithub">&#x672C;&#x4ED3;&#x5E93;Github&#x94FE;&#x63A5;: <a href="https://github.com/521xueweihan/HelloGitHub" target="_blank">https://github.com/521xueweihan/HelloGitHub</a></h4>
<hr>
<h2 id="&#x5199;&#x5728;&#x6700;&#x540E;&#x6211;&#x9700;&#x8981;&#x4F60;&#x7684;&#x652F;&#x6301;">&#x5199;&#x5728;&#x6700;&#x540E;(&#x6211;&#x9700;&#x8981;&#x4F60;&#x7684;&#x652F;&#x6301;)</h2>
<ul>
<li><p>&#x672C;&#x6587;&#x5C5E;&#x4E8E;<strong>Github&#x661F;&#x805A;&#x5F03;&#x7597;&#x699C;</strong> &#x9879;&#x76EE;&#x7684;&#x4E00;&#x90E8;&#x5206;, &#x9879;&#x76EE;Github&#x5730;&#x5740;: <a href="https://github.com/zhaoolee/StarsAndClown" target="_blank">https://github.com/zhaoolee/StarsAndClown</a></p>
</li>
<li><p><strong>Github&#x661F;&#x805A;&#x5F03;&#x7597;&#x699C;</strong>, &#x4E3A;Github&#x4F18;&#x79C0;&#x521B;&#x610F;&#x9879;&#x76EE;&#x5199;&#x4E00;&#x5C01;&#x63A8;&#x8350;&#x4FE1;&#xFF0C;&#x8BA9;Github&#x4F18;&#x79C0;&#x9879;&#x76EE;&#x9020;&#x798F;&#x4EBA;&#x7C7B;~, &#x5982;&#x679C;&#x4F60;&#x559C;&#x6B22;&#x8FD9;&#x4E2A;&#x9879;&#x76EE;, &#x5E0C;&#x671B;&#x4F60;&#x80FD;&#x4E3A;&#x672C;&#x9879;&#x76EE;&#x6DFB;&#x52A0;&#x4E00;&#x9897; &#x1F31F;&#x661F;.</p>
</li>
<li><p>StarsAndClown, Write a letter of recommendation for Github&apos;s outstanding creative projects, and let Github&apos;s outstanding projects benefit mankind~, If you like this project, I hope you can add a star &#x1F31F; to this project.</p>
</li>
</ul>
<footer class="page-footer"><span class="copyright">Copyright zhaoolee@gmail.com all right reserved&#xFF0C;powered by Gitbook</span><span class="footer-modification">&#x8BE5;&#x6587;&#x4EF6;&#x4FEE;&#x8BA2;&#x65F6;&#x95F4;&#xFF1A;
2019-06-06 13:04:58
</span></footer>
                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="qi-liao-699c5d-300a-nv-zhuang-da-lao-ku-300b.html" class="navigation navigation-prev " aria-label="Previous page: [弃疗榜] 女装大佬库">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="kai-yuan-gong-51775d-kai-yuan-gong-ju-jiang-markdown-ge-shi-zhuan-huan-wei-wei-xin-gong-zhong-hao-ge-shi.html" class="navigation navigation-next " aria-label="Next page: [开源工具] 开源工具将Markdown格式转换为微信公众号格式">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"[新手上路] 用HEXO在Github建立个人博客","level":"1.9","depth":1,"next":{"title":"[开源工具] 开源工具将Markdown格式转换为微信公众号格式","level":"1.10","depth":1,"path":"page/kai-yuan-gong-51775d-kai-yuan-gong-ju-jiang-markdown-ge-shi-zhuan-huan-wei-wei-xin-gong-zhong-hao-ge-shi.md","ref":"page/kai-yuan-gong-51775d-kai-yuan-gong-ju-jiang-markdown-ge-shi-zhuan-huan-wei-wei-xin-gong-zhong-hao-ge-shi.md","articles":[]},"previous":{"title":"[弃疗榜] 女装大佬库","level":"1.8","depth":1,"path":"page/qi-liao-699c5d-300a-nv-zhuang-da-lao-ku-300b.md","ref":"page/qi-liao-699c5d-300a-nv-zhuang-da-lao-ku-300b.md","articles":[]},"dir":"ltr"},"config":{"plugins":["disqus","github","3-ba","ga","github-buttons","-sharing","sharing-plus","-lunr","-search","search-plus","splitter","tbfed-pagefooter","donate","sitemap-general"],"styles":{"website":"zh-hans/styles/website.css"},"pluginsConfig":{"tbfed-pagefooter":{"copyright":"Copyright zhaoolee@gmail.com","modify_label":"该文件修订时间：","modify_format":"YYYY-MM-DD HH:mm:ss"},"disqus":{"useIdentifier":false,"shortName":"zhaoolee"},"github":{"url":"https://github.com/zhaoolee/StarsAndClown"},"splitter":{},"sharing-plus":{"qq":false,"all":["facebook","google","twitter","instapaper","linkedin","pocket","stumbleupon"],"douban":false,"facebook":true,"weibo":false,"instapaper":false,"whatsapp":false,"hatenaBookmark":false,"twitter":true,"messenger":false,"line":false,"vk":false,"pocket":true,"google":false,"viber":false,"stumbleupon":false,"qzone":false,"linkedin":false},"donate":{"title":"","button":"咦?","wechat":"https://user-images.githubusercontent.com/15868458/62830339-e1470400-bc3f-11e9-9851-3cf72d04d7b5.png","alipay":"","wechatText":"微信赞赏","alipayText":"支付宝打赏"},"sitemap-general":{"prefix":"https://zhaoolee.com/StarsAndClown/"},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"github-buttons":{"buttons":[{"user":"zhaoolee","repo":"StarsAndClown","type":"star","size":"large","count":true},{"user":"zhaoolee","type":"follow","width":"230","count":true}]},"3-ba":{"configuration":"auto","token":"58db316ae8a39f946e264dae4c0b0dd4"},"ga":{"configuration":"auto","token":"UA-129665260-2"},"sharing":{"qq":false,"all":["weibo","qq","qzone","google","douban"],"douban":false,"facebook":false,"weibo":false,"instapaper":false,"whatsapp":false,"hatenaBookmark":false,"twitter":false,"messenger":false,"line":false,"vk":false,"pocket":false,"google":false,"viber":false,"stumbleupon":false,"qzone":false,"linkedin":false},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"search-plus":{}},"theme":"default","author":"zhaoolee","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"StarsAndClown","language":"zh-hans","gitbook":"*","description":"☀️Github星聚弃疗榜, 让吃瓜群众也能享受Github带来的乐趣~Github StarsAndClown, Let the people who eat me can enjoy the fun of Github~"},"file":{"path":"page/xin-shou-shang-8def5d-300a-yong-hexo-zai-github-jian-li-ge-ren-bo-ke-300b.md","mtime":"2019-06-06T05:04:58.308Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-08-25T11:05:15.159Z"},"basePath":"..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../gitbook/gitbook.js"></script>
    <script src="../gitbook/theme.js"></script>
    
        
        <script src="https://cdnjs.cloudflare.com/ajax/libs/URI.js/1.16.1/URI.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-disqus/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-github/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-3-ba/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-ga/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-github-buttons/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-sharing-plus/buttons.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search-plus/jquery.mark.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search-plus/search.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-splitter/splitter.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-donate/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

